package com.lb.jwitter.hibernate;

import java.util.Collection;
import java.util.List;
import com.lb.utils.orm.hibernate.GenericDao;
import com.lb.jwitter.Tbl_Menu;
import java.util.Map;

public interface CommonDAO extends GenericDao<Object, Long>  {

   public List query(String sql, int pageSize, int page);
   
   public List queryWithParams(String sql, Map<String, Object> parameters, int pageSize, int page);
   
   public Boolean executeQuery(String sql);

}//endInterface

